package com.zl.service;

import com.zl.domain.User;
import com.zl.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * com.zl.service
 *
 * @author liyawei
 * @date 2018/4/8/008 16:22
 */
@Service
public class UserService {

    @Autowired
    UserMapper userMapper;

    public User getByName(String name){
        return userMapper.getByName(name);
    }
}
